/*
 * Copyright user2010
 * All rights reserved
 */

package org.myorg.applitest.jdbc.connection;

import org.myorg.applitest.mysql.names.Names;
import org.myorg.applitest.jdbc.Def;

/**
 *
 * @author user
 */
public class ConDropDB extends ConAbs{
    public ConDropDB() throws Exception {
        super();
        
    }
    @Override
    public boolean doJob(String user, String password) throws Exception {
       this._dbConnection_.connect("", user, password);
       this._dbConnection_.executeUpdate(Def.dropDB(Names.db));
       this._dbConnection_.disconnect();
       return true;
        
    }

}
